package exam._1;

public class Test {
    public static void main(String[] args) {
        RunnableTest test = new RunnableTest();
        Thread t1 = new Thread(test);
        t1.start();
        RunnableTest test2 = new RunnableTest();
        Thread t2 = new Thread(test2);
        t2.start();
        RunnableTest test3 = new RunnableTest();
        Thread t3 = new Thread(test3);
        t3.start();
        t1.setPriority(1);
        t2.setPriority(10);
        t3.setPriority(5);
    }
}
